Skip to content

feat: switch AMD CPU database to CSV#96

Merged
zleyyij merged 4 commits intoSpec-ify:mainfrom
K97i:main
Apr 14, 2026
Merged

feat: switch AMD CPU database to CSV#96
zleyyij merged 4 commits intoSpec-ify:mainfrom
K97i:main

Conversation

@K97i
Copy link
Copy Markdown
Contributor

@K97i K97i commented Apr 12, 2026

AMD updated their website to only output a CSV, uses some code from Intel's lexer/parser

@zleyyij
Copy link
Copy Markdown
Member

zleyyij commented Apr 14, 2026

@K97i you may be able to take advantage of a standard CSV parsing crate. The reason the intel parser is bespoke is because they violate enough of the CSV spec that it's easier to just make one from scratch.

I'll review now

Copy link
Copy Markdown
Member

@zleyyij zleyyij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just some minor tweaks, looks good to me

Comment thread parsing/src/cpu/amd/lexer.rs Outdated
Comment thread parsing/src/cpu.rs Outdated
@K97i K97i requested a review from zleyyij April 14, 2026 15:31
@zleyyij zleyyij merged commit 2fda6fa into Spec-ify:main Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants